package co.yixiang.yshop.module.product.controller.admin.storeproduct.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author pepis
 * @apiNote
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false)
public class StoreProductImportVO {

    @ExcelProperty(value = "商品名称", index = 0)
    private String storeName;
    /**
     * 分类id
     */
    @ExcelProperty(value = "商品分类", index = 1)
    private String cateName;

    @ExcelProperty(value = "关键字", index = 2)
    private String keyword;

    @ExcelProperty(value = "封面图", index = 3)
    private String image;

    /**
     * 上架状态 上架下架
     */
    @ExcelProperty(value = "商品状态", index = 4)
    private String isShowStr;

    /**
     * 商品简介
     */
    @ExcelProperty(value = "商品简介", index = 5)
    private String storeInfo;

    /**
     * 售价
     */
    @ExcelProperty(value = "售价", index = 6)
    private BigDecimal price;

    /**
     * 成本价
     */
    @ExcelProperty(value = "成本价", index = 7)
    private BigDecimal cost;

    /**
     * 原价
     */
    @ExcelProperty(value = "原价", index = 8)
    private BigDecimal otPrice;


    /**
     * 库存
     */
    @ExcelProperty(value = "库存", index = 9)
    private Integer stock;

    /**
     * 商品编号
     */
    @ExcelProperty(value = "商品编号", index = 10)
    private String barCode;

    /**
     * 重量
     */
    @ExcelProperty(value = "重量", index = 11)
    private BigDecimal weight;

    /**
     * 体积
     */
    @ExcelProperty(value = "体积", index = 12)
    private BigDecimal volume;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getIsShowStr() {
        return isShowStr;
    }

    public void setIsShowStr(String isShowStr) {
        this.isShowStr = isShowStr;
    }

    public String getStoreInfo() {
        return storeInfo;
    }

    public void setStoreInfo(String storeInfo) {
        this.storeInfo = storeInfo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public BigDecimal getOtPrice() {
        return otPrice;
    }

    public void setOtPrice(BigDecimal otPrice) {
        this.otPrice = otPrice;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

}
